<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- clinfo.qdoc -->
  <title>Querying OpenCL Device Capabilities</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script src="./scripts/superfish.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />  <script src="./scripts/narrow.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->
</head>
<body class="" onload="CheckEmptyAndLoadList();">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="150"><img src="images/qt-logo.png" align="left" border="0" />&nbsp;&nbsp;<img src="images/qtopencl-logo.png" border="0" /></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"> <a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="qtopencl-all-classes.html"><font color="#004faf">All Classes</font></a></td>
</table>              <li>Querying OpenCL Device Capabilities</li><h1 class="title">Querying OpenCL Device Capabilities</h1>
<span class="subtitle"></span>
<!-- $$$clinfo.html-description -->
<div class="descr"> <a name="details"></a>
<p>The <tt>clinfo</tt> program can be used to query and dump out information about the platform's OpenCL implementation. The following is a sample of the output that it produces:</p>
<pre class="highlightedCode brush: cpp">    OpenCL Platforms:
        Platform ID       : 134570448
        Profile           : FULL_PROFILE
        Version           : OpenCL 1.0 CUDA 3.0.1
        Name              : NVIDIA CUDA
        Vendor            : NVIDIA Corporation
        Extension Suffix  : NV
        Extensions        :
            cl_khr_byte_addressable_store
            cl_khr_icd
            cl_khr_gl_sharing
            cl_nv_compiler_options
            cl_nv_device_attribute_query
            cl_nv_pragma_unroll

    OpenCL Devices:
        Device ID         : 134570528
        Platform ID       : 134570448
        Vendor ID         : 4318
        Type              : GPU
        Profile           : FULL_PROFILE
        Version           : OpenCL 1.0 CUDA
        Driver Version    : 195.36.15
        Language Version  : OpenCL 1.0
        Name              : GeForce GTX 275
        Vendor            : NVIDIA Corporation
        Available         : true
        Compute Units     : 30
        Clock Frequency   : 1404 MHz
        Address Bits      : 32
        Byte Order        : Little Endian
        Max Work Size     : 512x512x64
        Max Items/Group   : 512
        Local Memory      : 16 kB
        Global Memory     : 895 MB
        Global Cache Type : None
        Global Cache Size : 0 kB
        Cache Line Size   : 0
        Max Alloc Size    : 223 MB
        Max Constant Size : 64 kB
        Max Constant Args : 9
        Separate Local    : true
        Alignment         : 32 (min 16)
        Max Param Bytes   : 4352
        Error Correction  : false
        Unified Memory    : false
        Float Support     : InfinityNaN RoundNearest RoundZero RoundInfinity FusedMultiplyAdd
        Double Support    : Denom InfinityNaN RoundNearest RoundZero RoundInfinity FusedMultiplyAdd
        Half Float Support: No
        Image Support     : 2D, 3D
        Max 2D Image Size : 8192x8192
        Max Samplers      : 16
        Max Read Images   : 128
        Max Write Images  : 8
        Max 3D Image      : 2048x2048x2048
        Writable 3D Images: false
        Has Compiler      : true
        Native Kernels    : false
        Out of Order Exec : true
        Preferred Vector Sizes:
            char1, short1, int1, long1, float1, double1
        Extensions        :
            cl_khr_byte_addressable_store
            cl_khr_icd
            cl_khr_gl_sharing
            cl_nv_compiler_options
            cl_nv_device_attribute_query
            cl_nv_pragma_unroll
            cl_khr_global_int32_base_atomics
            cl_khr_global_int32_extended_atomics
            cl_khr_local_int32_base_atomics
            cl_khr_local_int32_extended_atomics
            cl_khr_fp64</pre>
<p><a href="index.html">Return to Home</a></p>
</div>
<!-- @@@clinfo.html -->
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2010 Nokia Corporation</td>
<td align="right">QtOpenCL Documentation</td>
</tr></table></div></address>  <script src="scripts/functions.js" type="text/javascript"></script>
  <script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-4457116-5']);
  _gaq.push(['_trackPageview']);
  (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  </script>
</body>
</html>
